<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>BMXFileAttachment Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">floo-iOS </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">美信拓扑</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/dynamicCastWithAttachment:">+ dynamicCastWithAttachment:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/clone">- clone</option>
		
		<option value="//api/name/dealloc">- dealloc</option>
		
		<option value="//api/name/displayName">- displayName</option>
		
		<option value="//api/name/downloadStatus">- downloadStatus</option>
		
		<option value="//api/name/fileLength">- fileLength</option>
		
		<option value="//api/name/initWithData:displayName:conversationId:">- initWithData:displayName:conversationId:</option>
		
		<option value="//api/name/initWithPath:">- initWithPath:</option>
		
		<option value="//api/name/initWithPath:displayName:">- initWithPath:displayName:</option>
		
		<option value="//api/name/initWithRatelUrl:displayName:fileLength:">- initWithRatelUrl:displayName:fileLength:</option>
		
		<option value="//api/name/path">- path</option>
		
		<option value="//api/name/ratelUrl">- ratelUrl</option>
		
		<option value="//api/name/type">- type</option>
		
		<option value="//api/name/url">- url</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">BMXFileAttachment Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td><a href="../Classes/BMXMessageAttachment.html">BMXMessageAttachment</a> : <a href="../Classes/BMXBaseObject.html">BMXBaseObject</a> : NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>floo_proxy.h</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>@interface 消息文件附件</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/initWithData:displayName:conversationId:" title="initWithData:displayName:conversationId:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithData:displayName:conversationId:">&ndash;&nbsp;initWithData:displayName:conversationId:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			

			<div class="method-subsection method-declaration"><code>- (id)initWithData:(NSData *)<em>aData</em> displayName:(NSString *)<em>displayName</em> conversationId:(long long)<em>conversationId</em></code></div>

		    
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithPath:displayName:" title="initWithPath:displayName:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithPath:displayName:">&ndash;&nbsp;initWithPath:displayName:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>构造函数，构建发送文件消息附件</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (id)initWithPath:(NSString *)<em>path</em> displayName:(NSString *)<em>displayName</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>文件的本地路径</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>displayName</code></th>
						<td><p>文件展示名</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithPath:" title="initWithPath:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithPath:">&ndash;&nbsp;initWithPath:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			

			<div class="method-subsection method-declaration"><code>- (id)initWithPath:(NSString *)<em>path</em></code></div>

		    
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithRatelUrl:displayName:fileLength:" title="initWithRatelUrl:displayName:fileLength:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithRatelUrl:displayName:fileLength:">&ndash;&nbsp;initWithRatelUrl:displayName:fileLength:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>构造函数，构建接收文件消息附件</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (id)initWithRatelUrl:(NSString *)<em>ratelUrl</em> displayName:(NSString *)<em>displayName</em> fileLength:(long long)<em>fileLength</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>ratelUrl</code></th>
						<td><p>ratel文件服务器地址</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>displayName</code></th>
						<td><p>文件展示名</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>fileLength</code></th>
						<td><p>文件大小</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/type" title="type"></a>
	<h3 class="method-title"><code><a href="#//api/name/type">&ndash;&nbsp;type</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>返回文件类型</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BMXMessageAttachment_Type)type</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p><a href="../Constants/BMXMessageAttachment_Type.html">BMXMessageAttachment_Type</a></p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/clone" title="clone"></a>
	<h3 class="method-title"><code><a href="#//api/name/clone">&ndash;&nbsp;clone</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			

			<div class="method-subsection method-declaration"><code>- (BMXMessageAttachment *)clone</code></div>

		    
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/path" title="path"></a>
	<h3 class="method-title"><code><a href="#//api/name/path">&ndash;&nbsp;path</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>本地路径</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSString *)path</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/displayName" title="displayName"></a>
	<h3 class="method-title"><code><a href="#//api/name/displayName">&ndash;&nbsp;displayName</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>显示名</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSString *)displayName</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ratelUrl" title="ratelUrl"></a>
	<h3 class="method-title"><code><a href="#//api/name/ratelUrl">&ndash;&nbsp;ratelUrl</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>远程ratel使用URL</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSString *)ratelUrl</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/url" title="url"></a>
	<h3 class="method-title"><code><a href="#//api/name/url">&ndash;&nbsp;url</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>远程使用URL</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSString *)url</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/fileLength" title="fileLength"></a>
	<h3 class="method-title"><code><a href="#//api/name/fileLength">&ndash;&nbsp;fileLength</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>文件长度</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (long long)fileLength</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/downloadStatus" title="downloadStatus"></a>
	<h3 class="method-title"><code><a href="#//api/name/downloadStatus">&ndash;&nbsp;downloadStatus</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>附件下载状态</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BMXMessageAttachment_DownloadStatus)downloadStatus</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p><a href="../Constants/BMXMessageAttachment_DownloadStatus.html">BMXMessageAttachment_DownloadStatus</a></p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dynamicCastWithAttachment:" title="dynamicCastWithAttachment:"></a>
	<h3 class="method-title"><code><a href="#//api/name/dynamicCastWithAttachment:">+&nbsp;dynamicCastWithAttachment:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>消息附件强制转换为文件附件</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BMXFileAttachment *)dynamicCastWithAttachment:(BMXMessageAttachment *)<em>attachment</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>attachment</code></th>
						<td><p>附件</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>BMXFileAttachment</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">floo_proxy.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dealloc" title="dealloc"></a>
	<h3 class="method-title"><code><a href="#//api/name/dealloc">&ndash;&nbsp;dealloc</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			

			<div class="method-subsection method-declaration"><code>- (void)dealloc</code></div>

		    
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2023 美信拓扑. All rights reserved. Updated: 2023-02-08</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>